
** Cann, Damon M. and Andrew H. Sidman. N.d. "Exchange Theory, Political Parties, and the
**    Allocation of Federal Distributive Benefits in the House of Representatives." Journal
**    of Politics. Forthcoming.

** Note that the code here is written for Stata 11.  For previous versions, the three-way
** interactions (and all constituent two-way interactions) need to be manually created.


** Y= ln(Real New Direct Payment Outlays)
xtreg ln_rdpn i.majority##i.republican##c.partyunity_prev i.majority##i.republican##c.ln_m2m ///
  ln_m2mapp cen_black_pct cen_gvtwrkr_pct cen_miltpop_pct cen_age65_pct unemprate cen_urban_pct ///
  log_mdnincm delsize presvote_d dwnom1_111 seniority leader_comb chair_rmm inc2sh ///
  chql_new spendgap, i(name_idno2) re

** Y= ln(New Direct Payment Awards)
xtreg ln_dpn_aw i.majority##i.republican##c.partyunity_prev i.majority##i.republican##c.ln_m2m ///
  ln_m2mapp cen_black_pct cen_gvtwrkr_pct cen_miltpop_pct cen_age65_pct unemprate cen_urban_pct ///
  log_mdnincm delsize presvote_d dwnom1_111 seniority leader_comb chair_rmm inc2sh ///
  chql_new spendgap, i(name_idno2) re

** Y= ln(New Contingent Liability Awards)
xtreg ln_cln_aw i.majority##i.republican##c.partyunity_prev i.majority##i.republican##c.ln_m2m ///
  i.majority##i.republican##c.ln_m2mapp cen_black_pct cen_gvtwrkr_pct cen_miltpop_pct cen_age65_pct ///
  unemprate cen_urban_pct log_mdnincm delsize presvote_d dwnom1_111 seniority leader_comb ///
  chair_rmm inc2sh chql_new spendgap, i(name_idno2) re
